package com.twetec.cms.model.vo.system;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.twetec.cms.model.vo.base.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class WhiteListGetOneVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "Id", example = "12345646546")
    private Long id;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", example = "XXXXx")
    private String name;

    /**
     * key_id
     */
    @ApiModelProperty(value = "keyId", example = "xxxxxxxx")
    private String keyId;

    /**
     * KeySecret
     */
    @ApiModelProperty(value = "keySecret", example = "xxxxxxxx")
    private String keySecret;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "xxxxxxxx")
    private String remark;

    /**
     * IP地址(白名单IP地址列表)
     */
    @ApiModelProperty(value = "IP地址(白名单IP地址列表)", example = "xxxxxxxx")
    private String ipAddrList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getKeySecret() {
        return keySecret;
    }

    public void setKeySecret(String keySecret) {
        this.keySecret = keySecret;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIpAddrList() {
        return ipAddrList;
    }

    public void setIpAddrList(String ipAddrList) {
        this.ipAddrList = ipAddrList;
    }

    @Override
    public String toString() {
        return "WhiteListGetOneVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", keyId='" + keyId + '\'' +
                ", keySecret='" + keySecret + '\'' +
                ", remark='" + remark + '\'' +
                ", ipAddrList='" + ipAddrList + '\'' +
                '}';
    }
}
